﻿namespace LinqToSqlQueryVisualizer
{
    using System.Data;
    using System.Windows.Forms;

    public partial class QueryResult2 : Form
    {
        public QueryResult2()
        {
            InitializeComponent();
        }

        public void SetDataSets(DataSet ds1, DataSet ds2)
        {
            dataGridView1.DataSource = ds1.Tables[0];
            dataGridView2.DataSource = ds2.Tables[0];
        }
    }
}